from sqlalchemy import Column, String, Integer
from DataBase.DataBaseConnect import DBConnect

class DataInfo(DBConnect.Base):
    #Base作为被继承的类
    __tablename__ = 'data_info'
    id = Column(Integer,primary_key=True)
    data_info = Column(String(256),nullable=False,index=True)
    function_id = Column(Integer,nullable=False,index=True)
    assign_id = Column(Integer,nullable=False,index=True)